# -*- coding: utf-8 -*-
# @Time    : 2024/2/1 20:44
# @Author  : micah
# @File    : 4.常用的信息查询.py
# @Software: PyCharm


import time
from selenium import webdriver


browser = webdriver.Chrome()
browser.get('https://www.360buy.com')

time.sleep(1)

# 查询cookie
print(browser.get_cookies())

# 查询访问的网站url
print(browser.current_url)

browser.close()